/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cheapflix.beans;

import java.io.Serializable;

/**
 *  Bean class that holds information about a 
 * user's DVD recommendation
 * @author Group B
 */
public class RecommendedDVD implements Serializable {
    
    private int dvdId;
    private DVD dvd;

    //constructor
    public DVD getDvd() {
        return dvd;
    }
    
    
    private int id;
    private int recommendeeId;
    private int recommendorId;

    @Override
    public String toString() {
        return "dvdId: " + dvdId+", recommendeeId="+recommendeeId+", recommendorId="+recommendorId;
    }
    
    /************* getters/setters ****************/
    public void setDVD ( DVD dvd ){
        this.dvd=dvd;
    }
    public RecommendedDVD() {
        
    }
    
    public int getDvdId() {
        return dvdId;
    }
    
    public void setDvdId(int dvdId) {
        this.dvdId = dvdId;
    }
    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public int getRecommendeeId() {
        return recommendeeId;
    }
    
    public void setRecommendeeId(int recommendeeId) {
        this.recommendeeId = recommendeeId;
    }
    
    public int getRecommendorId() {
        return recommendorId;
    }
    
    public void setRecommendorId(int recommendorId) {
        this.recommendorId = recommendorId;
    }
    
    
}
